import request from '@/plugin/axios'

export function getToken (data) {
    return request({
        url: '/oauth2/accessToken?'+'client_id='+data.username + '&' + 'client_secret=' + data.password,
        method: 'get',
        data
    })
}
